2008-06-17 Michael Natterer <mitch@imendio.com>
* gtk/gtkoptionmenu.c (gtk_option_menu_position): cast menu's
toplevel to GtkWindow when passing to gtk_window_set_type_hint().
svn path=/trunk/; revision=20417
+2008-06-17 Michael Natterer <mitch@imendio.com>
+
+ * gtk/gtkoptionmenu.c (gtk_option_menu_position): cast menu's
+ toplevel to GtkWindow when passing to gtk_window_set_type_hint().
+
2008-06-17 Michael Natterer <mitch@imendio.com>
* gtk/gtktestutils.c: #undef GTK_DISABLE_DEPRECATED, clean up
gdk_window_get_origin (widget->window, &menu_xpos, &menu_ypos);
/* set combo box type hint for menu popup */
- gtk_window_set_type_hint (GTK_MENU (option_menu->menu)->toplevel,
+ gtk_window_set_type_hint (GTK_WINDOW (GTK_MENU (option_menu->menu)->toplevel),
GDK_WINDOW_TYPE_HINT_COMBO);
menu_xpos += widget->allocation.x;